package com.mediacloud.app.newsmodule.view;

import android.content.Context;
import androidx.core.widget.NestedScrollView;
import android.util.AttributeSet;
import android.view.View;

import com.mediacloud.app.newsmodule.fragment.imagetext.CustomScrollView;
import com.mediacloud.app.newsmodule.newsdetail_component.SmartScrollView;

public class WebViewScroll extends NestedScrollView {

	boolean calledFocus=false;
	public WebViewScroll(Context context) {
		super(context);
	}

	public WebViewScroll(Context context, AttributeSet attrs) {
		super(context, attrs);
	}

	public WebViewScroll(Context context, AttributeSet attrs, int defStyleAttr) {
		super(context, attrs, defStyleAttr);
		// TODO Auto-generated constructor stub
	}

	@Override
	public void requestChildFocus(View child, View focused)
	{
		/*if(!calledFocus)
		{
			super.requestChildFocus(child, focused);
			calledFocus=true;
		}*/
		super.requestChildFocus(child, focused);
	}
}